import { Menu } from "antd"
import cn from '@/utils/classnames'
import s from './index.module.css'

const items = [
    {
        key: 'checkfile',
        label: `公文检查`,
    }
]
const AppHeader = () => {
    return (
        <div className={cn(s.header)}>
            <div className={cn(s.logo)}>
                <img src="/vite.svg" alt="logo" className={s.logoImg} />
            </div>
            <Menu
                theme="dark"
                mode="horizontal"
                defaultSelectedKeys={['checkfile']}
                items={items}
                style={{ flex: 1, minWidth: 0 }}
            />
        </div>
    )
}

export default AppHeader